|
stepper28 2.2.0
|
Stepper 28 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Stepper 28 Click example.
This example demonstrates the use of the Stepper 28 Click board by driving the motor in both directions for a desired number of steps.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Drives the motor clockwise for 200 full steps and then counter-clockwise for 200 half steps and 400 quarter steps with a 1 second delay on driving mode change. All data is being logged on the USB UART where you can track the program flow.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |